#
# build extracting core data of kallsyms to ko
#
KDIR_PATH := $(abspath $(lastword $(MAKEFILE_LIST)))
KDIR := $(dir $(KDIR_PATH))

obj-m := load_kallsyms.o
load_kallsyms-objs :=  ./../.extract_kallsyms.o ldk_load_kallsyms.o

all:
	$(Q)$(MAKE) M=$(KDIR) ARCH=$(ARCH) modules
clean:
	@rm -f .*.cmd .*.o *.o *.ko *.mod.c *.mod modules.order Module.symvers
